import instance from '@/utils/request';

//客户管理显示
export function GetCustomerManagemenDtoAsync(data) {
    return instance.request({
        url: "api/CustomerManagement/GetCustomerManagemenDto",
        method: "post",
        data
    })
}

//删除客户管理
export function DelCustomerManagement(data) {
    return instance.request({
        url: "api/CustomerManagement/DelCustomerManagement",
        method: "post",
        data
    })
}

//批量删除客户管理
export function BatchDelCustomerManagement(data) {
    return instance.request({
        url: "api/CustomerManagement/BatchDelCustomerManagement",
        method: "post",
        data
    })
}

//添加客户信息（客户联系人）
export function AddCustomDtoAsync(data) {
    return instance.request({
        url: "api/CustomerManagement/AddCustomDto",
        method: "post",
        data
    })
}

//反填客户联系人显示
export function FillCustomContactDtoAsync(data) {
    return instance.request({
        url: "api/CustomerManagement/FillCustomContactDto",
        method: "post",
        data
    })
}


//反填客户信息
export function GetCustomDtoAsync(data) {
    return instance.request({
        url: "api/CustomerManagement/GetCustomDto",
        method: "post",
        data
    })
}

//修改客户信息
export function UpdCustomDtoAsync(data) {
    return instance.request({
        url: "api/CustomerManagement/UpdCustomDto",
        method: "post",
        data
    })
}

